package demo1;

import demo1.MyLinkedList;

public class Test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList=new MyLinkedList();
        myLinkedList.addFirst(1);
        myLinkedList.addLast(2);
        myLinkedList.addLast(1);
        myLinkedList.addIndex(2,4);
        myLinkedList.display();
        myLinkedList.removeAllKey(1);
        myLinkedList.display();

    }
}
